/**
 * 200
 * @param code
 * @returns {boolean}
 */
export function is200(code: number) {
    // return parseInt(String(code / 1000000)) === 200
    return code === 200
}

/**
 * 403
 * @param code
 * @returns {boolean}
 */
export function is401(code: number) {
    return code === 401
}

/**
 * 403
 * @param code
 * @returns {boolean}
 */
export function is403(code: number) {
    return code === 403
}

/**
 * 403
 * @param code
 * @returns {boolean}
 */
export function is404(code: number) {
    return code === 404
}


/**
 * 403
 * @param code
 * @returns {boolean}
 */
export function is500(code: number) {
    return code === 500
}

